package org.tinygroup.sdpm.zhang.business.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.tinygroup.sdpm.zhang.business.inter.GoodsOrderManager;
import org.tinygroup.sdpm.zhang.dao.inter.GoodsorderDao;
import org.tinygroup.sdpm.zhang.dao.inter.pojo.Goodsorder;

@Service
public class GoodsOrderManagerImpl implements GoodsOrderManager{
    @Autowired
    private GoodsorderDao goodsorderDao;
    @Override
    public Goodsorder getByKey(String pk) {

        return goodsorderDao.getByKey(pk);
    }

    @Override
    public Goodsorder add(Goodsorder goodsorder) {
        return goodsorderDao.add(goodsorder);
    }
}
